package cn.edu.scau.cmi.chensicheng.composite.consistent;

import java.util.ArrayList;

public abstract class ConsistentComponent {
	public String name;
	public String addChild(ConsistentComponent child) {
		return "人不能添加成员";
	}
	public String deleteChild(int index) {
		return "人不能删除成员";
	}
	public ArrayList<ConsistentComponent> getChildren() {
		System.out.println("人不能查看成员");
		return null;
	}
	public abstract String printName();
}
